package com.opensource.baowebcon.controller;

import com.opensource.datamodel.entity.Newtable;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @author wzh
 * @date 2024/5/6
 * @apiNote
 */
@RestController
@RequestMapping
public class demoController extends BaseController{

    @GetMapping("test")
    public String test(){




        return newtableService.d();
    }



    @GetMapping
    public List<Newtable> test1(){




        return newtableService.selecAll();
    }


}
